package com.example.mapper;

import com.example.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import java.util.List;

@Mapper
public interface UserMapper {

    List<User> selectAll(User user);

    User selectByUsername(String username);

    void addUser(User user);

    void updateById(User user);
}
